﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace QLNSClient
{
    public partial class Frm_dsCBNL : DevExpress.XtraEditors.XtraForm
    {
        QLNSServiceReference.QLNSServiceClient sv = new QLNSServiceReference.QLNSServiceClient();
        
        public Frm_dsCBNL()
        {
            InitializeComponent();
        }

        private void Frm_dsCBNL_Load(object sender, EventArgs e)
        {
            gv_dsCBNL.DataSource = sv.getHSLHienTai();
            gridView1.Columns[0].Caption="Mã cán bộ";
            gridView1.Columns[1].Caption="Tên cán bộ";
            gridView1.Columns[2].Caption="Mã ngạch";
            gridView1.Columns[3].Caption="Mã bậc";
            gridView1.Columns[4].Caption="Quyết định";
            gridView1.Columns[5].Caption="Ngày hiệu lực";
        }
    }
}